<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ include file="/WEB-INF/layout/header.jsp"%>
<h1>
   <fmt:message key="contract.list" />
</h1>
<div class="span-24">
   <ul>
   <c:forEach items="${contracts}" var="ctr">
      <li>  
         <a href="contract/${ctr.id}">${ctr.clientContractNumber} (<fmt:formatDate value="${ctr.startDate}" pattern="dd.MM.yyy" />)</a>
      </li>
   </c:forEach>
   </ul>
</div>

<%@ include file="/WEB-INF/layout/footer.jsp"%>